package com.oceansoft.mobile.econsole.modules.jlapi.persistence;

import com.oceansoft.mobile.econsole.modules.jlapi.entity.InQueryServiceInfo;
import com.oceansoft.mobile.econsole.modules.jlapi.entity.InQueryServiceInfoAtt;
import com.oceansoft.mobile.econsole.modules.jlapi.entity.OutQueryServiceInfo;
import com.oceansoft.mobile.econsole.modules.jlapi.entity.OutQueryServiceInfo2;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by smc on 2016/2/19.
 * 大庆api接口入库mapper
 */
@Repository
public interface IJlApiInfoMapper {

    List<OutQueryServiceInfo> findOutServiceInfoByCondition(@Param("action")String action, @Param("command")String command);


    List<OutQueryServiceInfo2> findOutServiceInfoByCondition2(@Param("action")String action, @Param("command")String command);

    List<OutQueryServiceInfo> findOutServiceInfoByCondition3(@Param("action")String action, @Param("command")String command);
    public List<OutQueryServiceInfo> queryListOutServiceInfo(String sn);

    public List<OutQueryServiceInfo2> queryListOutServiceInfo2(String sn);
    public void insertInServiceInfo(InQueryServiceInfo inQueryServiceInfo);

    InQueryServiceInfo findInQueryBySN(@Param("sn") String sn);

    void insertInAtt(InQueryServiceInfoAtt inAtt);
}
